﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:MyAdressBookWPF"
                    xmlns:vm="clr-namespace:MyAdressBookWPF.ViewModel"
                    xmlns:view="clr-namespace:MyAdressBookWPF.View"
                    >
    <DataTemplate DataType="{x:Type vm:LoginViewModel}">
        <view:LoginView />
    </DataTemplate>
    <DataTemplate DataType="{x:Type vm:ContactViewModel}">
        <view:ContactView />
    </DataTemplate>
    <DataTemplate DataType="{x:Type vm:UserRegisterViewModel}">
        <view:RegisterView />
    </DataTemplate>
</ResourceDictionary>